---
title: "Upload images to file service"
method: POST
path: "/api_gateway/file-service/rewards/{file name with extension}"
---

# Upload images to file service

`POST /api_gateway/file-service/rewards/{file name with extension}`

## Path parameters

- `fileName` string, required

## Response `200`

200

- object
  - `code` integer
  - `status` string
  - `message` string
  - `file` object
    - `name` string
    - `namespace` string
    - `version` integer
    - `acl` string
    - `fileSize` string
    - `file_handle` string
    - `content_type` string
    - `s3_token` string
    - `latest_version` integer
    - `last_modified` string
    - `s3_url` string
  - `secureFilePath` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
